<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<%@taglib prefix="accessory" uri="http://accessoryPackageTag.weitu.net" %>
<!doctype html>
<html lang="zh">
<head>
    <title>业务表单</title>
    <%@include file="/common/header.jspf"%>
</head>
<body>
<div class="menu-right" style="">
    <a class="button icon-save" id="btn_save">
        保存
    </a>
  <%--  <a class="button icon-export">
        返回
    </a>--%>
</div>
<form id="form1" method="post">
    <div class="information">
        <div class="information-title">
            <p>基本信息</p>
            <a class="panel-down" href="javascript:void(0)">                 <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>             </a>
        </div>
        <div class="cuttle" style="height: 120px;">
            <div style="clear: both">
                <div class="form_one" style="width: 1100px;">
                    <input id="majorHazardId" name="majorHazardId" hidden/>
                    <label class="lable-style">装置/要害部位:</label>
                    <input id="majorHazardName" class="easyui-textbox" required="true" name="majorHazardName" style="width: 965px">
                    <span>*</span>
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one" style="width:550px">
                    <input id="contactContractor" type="hidden" name="contactContractor">
                    <label class="lable-style">联系(承包)人:</label>
                    <input id="contactContractorName" class="easyui-textbox" validType="validSelect" name="contactContractorName" style="width: 415px" editable="false">
                </div>
                <div class="form_one" style="width: 550px">
                    <label class="lable-style">级别:</label>
                    <input id="level" name="level" class="easyui-textbox" validType="validSelect"  style="width: 415px" editable="false">
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one" style="width: 550px">
                    <label class="lable-style">单位名称:</label>
                    <input id="unitName" name="unitName" class="easyui-textbox" required="true" validType="validSelect"  style="width: 415px" editable="false">
                    <span>*</span>
                </div>
                <div class="form_one" style="width: 550px">
                    <label class="lable-style">活动形式:</label>
                    <select id="activityForm" class="easyui-combobox" name="activityForm" required="true" validType="validSelect" multiple="true" style="width: 415px">
                        <option value="参加基层工组安全活动">参加基层工组安全活动</option>
                        <option value="安全检查">安全检查</option>
                        <option value="督促整改事故隐患安全工作指示">督促整改事故隐患安全工作指示</option>
                        <option value="安全工作指示">安全工作指示</option>
                        <option value="交接班活动">交接班活动</option>
                        <option value="HSE观察">HSE观察</option>
                        <option value="其他">其他</option>
                    </select>
                    <span>*</span>
                </div>

            </div>
            <div style="clear: both">
                <div class="form_one" style="width: 550px">
                    <label class="lable-style">活动时间:</label>
                    <input class="easyui-datebox" name="time" required="true" validType="validSelect" style="width: 415px">
                    <span>*</span>
                </div>
                <div class="form_one" style="width: 550px">
                    <label class="lable-style">参加活动承包人:</label>
                    <select id="participatingContractors" class="easyui-combobox" name="participatingContractors" required="true" validType="validSelect" multiple="true" style="width: 415px">
                    </select>
                    <span>*</span>
                </div>
            </div>
            <div style="clear: both;height:57px;">
                <div class="form_one fotm-textarea" style="width: 1100px">
                    <label class="lable-style">陪同人员:</label>
                    <input class="easyui-textbox" data-options="multiline:true" style="height: 50px;width: 965px;" name="entourage"/>
                </div>
            </div>
            <div style="clear: both;height:57px;">
                <div class="form_one fotm-textarea" style="width: 1100px">
                    <label class="lable-style">活动内容:</label>
                    <input class="easyui-textbox" data-options="multiline:true" style="height: 50px;width: 965px;" required="true" name="activityContent"/>
                    <span>*</span>
                </div>
            </div>
            <div style="clear: both;height:57px;">
                <div class="form_one fotm-textarea" style="width: 1100px">
                    <label class="lable-style">领导批示:</label>
                    <input class="easyui-textbox" data-options="multiline:true" style="height: 50px;width: 965px;" name="leadershipInstruction"/>
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one" style="width: 550px">
                    <label class="lable-style">检查级别:</label>
                    <select id="inspectionLevel" class="easyui-combobox" name="inspectionLevel" required="true" validType="validSelect"  style="width: 415px">
                        <option></option>
                        <option value="集团级">集团级</option>
                        <option value="公司级">公司级</option>
                        <option value="作业部级">作业部级</option>
                        <option value="装置级">装置级</option>
                        <option value="事业部级">事业部级</option>
                    </select>
                    <span>*</span>
                </div>
                <div class="form_one" style="width: 550px">
                    <label class="lable-style">检查名称:</label>
                    <input id="inspectionName" name="inspectionName" class="easyui-textbox" required="true" validType="validSelect" style="width: 415px">
                    <span>*</span>
                </div>
            </div>
        </div>
    </div>
    <div class="information">
        <div class="information-title">
            <p>问题</p>
            <a class="panel-down" href="javascript:void(0)">                 <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>             </a>
        </div>
        <div class="enclosure" style="height:300px; " >
            <table id="precautionList">
            </table>
            <div id="tb">
                <a id="btn_precaution_add" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-plus fa-lg" style="margin:5px;" disabled>添加</a>
                <a id="btn_precaution_edit" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-edit fa-lg" style="margin:5px;" disabled>编辑</a>
                <%--<a id="btn_precaution_edit" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-cloud-upload fa-lg" style="margin:5px;" disabled>导入</a>--%>
                <a id="btn_precaution_delete" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-trash fa-lg" style="margin:5px;" disabled>删除</a>

            </div>
        </div>
    </div>
    <div class="information">
        <div class="information-title">
            <p>附件</p>
            <a class="panel-down" href="javascript:void(0)">                 <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>             </a>
        </div>
        <accessory:accessorySimple permission="write"  packageKey="atrc" uploadUserId="${userMessage.addUserId}"   accessoryType = "txt,docx,doc,xls,xlsx,jpg,png"></accessory:accessorySimple>
    </div>
    <div class="information" style="height: 200px;">
        <div class="information-title">
            <p>登记人</p>
            <a class="panel-down" href="javascript:void(0)">                 <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>             </a>
        </div>
        <div class="cuttle" style="height: 220px;">
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">登记人:</label>
                    <input name="addUserId" value="${userMessage.addUserId}" hidden/>
                    <input class="easyui-textbox" style="width: 240px;" value="${userMessage.addUserName}" editable="false">
                    <span>*</span>
                </div>
                <div class="form_one">
                    <label class="lable-style">登记部门:</label>
                    <input name = "addDeptId" value="${userMessage.addDeptId}" hidden/>
                    <input  value="${userMessage.addDeptName}" class="easyui-textbox" editable="false" style="width: 240px;">
                    <span>*</span>
                </div>
                <div class="form_one">
                    <label class="lable-style">登记时间:</label>
                    <input name = "addTime" value="${userMessage.addTime}" class="easyui-textbox" editable="false" style="width: 240px;">
                    <span>*</span>
                </div>
            </div>
        </div>
    </div>



</form>
<script src="${ctx}/resources/js/majorHazard/activityRecord/add.js" type="text/javascript"></script>
</body>
</html>
